﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Wy.JiZhangSoft.Migrations
{
    public partial class update_ZhangDan_FileIdLength : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<Guid>(
                name: "FileId",
                table: "JiZhang_ZhangDans",
                type: "char(36)",
                nullable: true,
                oldClrType: typeof(string),
                oldType: "char(150)",
                oldMaxLength: 150,
                oldNullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AlterColumn<string>(
                name: "FileId",
                table: "JiZhang_ZhangDans",
                type: "char(150)",
                maxLength: 150,
                nullable: true,
                oldClrType: typeof(Guid),
                oldType: "char(36)",
                oldNullable: true);
        }
    }
}
